verify euler's theorem for the homogeneous function